package com.jiegui.business.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jiegui.common.annotation.Excel;
import com.jiegui.common.core.domain.BaseQueryEntity;
import lombok.Data;

import java.util.Date;

/**
 * 商品订单对象 goods_order_info
 *
 * @author wuqicheng
 * @date 2024-11-20
 */
@Data
@TableName("goods_order_info")
public class GoodsOrderInfo extends BaseQueryEntity {
    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 商品id
     */
    @Excel(name = "商品id", readConverterExp = "商品id")
    private String goodsId;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称", readConverterExp = "商品名称")
    private String goodsName;

    /**
     * 展商id
     */
    @Excel(name = "展商id", readConverterExp = "展商id")
    private String exhId;

    /**
     * 展商名称
     */
    @Excel(name = "展商名称", readConverterExp = "展商名称")
    private String exhName;

    /**
     * 支付金额
     */
    @Excel(name = "支付金额", readConverterExp = "支付金额")
    private BigDecimal payPrice;

    /**
     * 单价
     */
    @Excel(name = "单价", readConverterExp = "单价")
    private BigDecimal unitPrice;

    /**
     * 商品数量
     */
    @Excel(name = "商品数量", readConverterExp = "商品数量")
    private Integer goodsNum;

    /**
     * 客户id
     */
    @Excel(name = "客户id", readConverterExp = "客户id")
    private String customId;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称", readConverterExp = "客户名称")
    private String customName;

    /**
     * 地址
     */
    @Excel(name = "地址", readConverterExp = "地址")
    private String customAddress;

    /**
     * 电话
     */
    @Excel(name = "电话", readConverterExp = "电话")
    private String customPhone;

    /**
     * 是否发货
     */
    @Excel(name = "是否发货", readConverterExp = "是否发货")
    private String delivery;

    /**
     * 物流信息
     */
    @Excel(name = "物流信息", readConverterExp = "物流信息")
    private String mailMsg;

    /**
     * NONE 未支付，PAY已支付，CANCEL 取消
     */
    @Excel(name = "NONE 未支付，PAY已支付，CANCEL 取消", readConverterExp = "NONE 未支付，PAY已支付，CANCEL 取消")
    private String payState;

    /**
     * $column.columnComment
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "$column.columnComment", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
